how to remove characters from a string in lua

249

how to remove characters from a string in lua -

-- removing characters

local str = "Hello World"

print(str:gsub("%o", "")

--> Hell Wrld

Comments

Submit
0 Comments